projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7ed598
)
Add a forgotten break in render_border
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 30 Nov 2012 03:42:36 +0000
(22:42 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 30 Nov 2012 04:10:34 +0000
(23:10 -0500)
The GTK_BORDER_STYLE_DOUBLE case was clearly not meant to
fall through to the subsequent cases, yet it did.
Found by Coverity.
gtk/gtkthemingengine.c
patch
|
blob
|
history
diff --git
a/gtk/gtkthemingengine.c
b/gtk/gtkthemingengine.c
index 4a803cd2d826717cf2ffbcd699e5cb97412f1e7e..2d9152c6a9ff54aa5024e07111a3898eaaaf62fb 100644
(file)
--- a/
gtk/gtkthemingengine.c
+++ b/
gtk/gtkthemingengine.c
@@
-1656,6
+1656,7
@@
render_border (cairo_t *cr,
2 * other_border[GTK_CSS_LEFT]);
render_frame_fill (cr, &other_box, other_border, colors, dont_draw);
}
+ break;
case GTK_BORDER_STYLE_GROOVE:
case GTK_BORDER_STYLE_RIDGE:
{